package com.xiayuanxing.flowable;

import com.xiayuanxing.flowable.config.AppDispatcherServletConfiguration;
import com.xiayuanxing.flowable.config.ApplicationConfiguration;
import org.flowable.ui.modeler.conf.DatabaseConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;
import org.springframework.context.annotation.Import;

@Import(value = {
        //引入修改的配置
        ApplicationConfiguration.class,
        AppDispatcherServletConfiguration.class,
        DatabaseConfiguration.class
})
//移除security自动配置
@SpringBootApplication(exclude = {SecurityAutoConfiguration.class})
public class FlowableApplication {

    public static void main(String[] args) {
        SpringApplication.run(FlowableApplication.class, args);
    }

}
